
import {Routes} from '@angular/router';

export const appRoutes:Routes = [
  {
    path: '',
    redirectTo: 'home',
    pathMatch: 'full'
  },
  {
    path:'home',
    loadChildren:'./home/home.module#HomeModule'
  },
  {
    path:'about',
    loadChildren:'./about/about.module#AboutModule'
  },
  {
    path:'user',
    loadChildren:'./user/user.module#UserModule'
  },
  {
    path:'post',
    loadChildren:'./post/post.module#PostModule'
  },
  {
    path:'button',
    loadChildren:'./button/buttondemo.module#ButtonDemoModule'
  },
  {
    path:'editor',
    loadChildren:'./editor/editordemo.module#EditorDemoModule'
  }
];
